package com.cctc.rds.scheduler.server.config;

import com.cctc.rds.raft.core.node.NodeIpPort;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class NettyConfig {
    private int port;
    private int workerThreads;
    private int idleTimeoutMs;
    private List<NodeIpPort> nodes;
}
